const mongoose = require('../index');

const noteSchema = new mongoose.Schema({
    title:String,
    content:String
});

// 参数1：集合名称 
// 参数2：文档结构
const noteModel = mongoose.model('notelists',noteSchema);

module.exports = noteModel;
